package com.itheima.feign.fallback;

import com.itheima.feign.GoodsFeign;
import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class GoodsFeignFallback implements GoodsFeign {

    @Override
    public String one(Integer max) {
        return "服务降级 service";
    }
}
